var express =require('express')

// 1.创建app
var app =express()

app.get('/', function(req, res){
    res.send('hello world')
})
app.get('/login', function(req, res){
    res.send('login')
})

app.listen(3000, function(){
    console.log('express app is running (of nodemon)...')
})